package com.xuln.stock.ashare.model;

import java.util.Collections;
import java.util.Date;
import java.util.List;
import java.util.Map;

public class RealTimeMarketLine {
	private String stockCode;
	private Date date;
	private List<StockInfo> stockInfos;

	public String getStockCode() {
		return stockCode;
	}

	public void setStockCode(String stockCode) {
		this.stockCode = stockCode;
	}

	public List<StockInfo> getStockInfos() {
		if (stockInfos == null) {
			return Collections.emptyList();
		}
		return stockInfos;
	}

	public void setStockInfos(List<StockInfo> stockInfos) {
		this.stockInfos = stockInfos;
	}

	public Date getDate() {
		return date;
	}

	public void setDate(Date date) {
		this.date = date;
	}
}
